﻿<%@ Page Title="Configurar Grupo" Language="C#" MasterPageFile="~/Admin.Master" AutoEventWireup="true"
    CodeBehind="ConfigurarGrupo.aspx.cs" Inherits="Web.ConfigurarGrupo" %>

<%@ Register Src="~/UserControls/ucMensagem.ascx" TagName="UserControl" TagPrefix="ucM" %>
<%@ Register Src="~/UserControls/ucCabecalho.ascx" TagName="UserControl" TagPrefix="ucC" %>
<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="FeaturedContent" runat="server">
    <ucC:UserControl ID="ucCabecalho" runat="server"></ucC:UserControl>
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="MainContent" runat="server">
    <hgroup class="title">
        <h1>
            <asp:Label ID="Label1" runat="server" Text="grupo... "></asp:Label>
        </h1>
        <h2>
            <asp:Label ID="lblNomeGrupo" runat="server" Text="DIRETORIA"></asp:Label>.</h2>
    </hgroup>
    <center>
        <ucM:UserControl ID="ucMensagem" runat="server"></ucM:UserControl>
        <br />
        <table>
            <tr>
                <td>
                    <asp:Label ID="lblDisponiveis" runat="server" Text="DISPONÍVEIS:" CssClass="label"></asp:Label>
                </td>
                <td>
                </td>
                <td>
                    <asp:Label ID="lblAssociadas" runat="server" Text="ASSOCIADAS: " CssClass="label"></asp:Label>
                </td>
            </tr>
            <tr>
                <td>
                    <asp:ListBox ID="ltbDisponiveis" runat="server" Width="300" Height="300" SelectionMode="Multiple"></asp:ListBox>
                </td>
                <td>
                    <asp:ImageButton ID="btiAssocTodos" runat="server" 
                        ImageUrl="~/Images/iconAssociarTodos.png" ToolTip="Associar Todas" 
                        OnClick="btiAssocTodos_Click"></asp:ImageButton><br />
                    <asp:ImageButton ID="btiAssociar" runat="server" 
                        ImageUrl="~/Images/iconAssociar.png" ToolTip="Associar" 
                        OnClick="btiAssociar_Click"></asp:ImageButton><br /><br />
                    <asp:ImageButton ID="btiDesassociar" runat="server" 
                        ImageUrl="~/Images/iconDesassociar.png" ToolTip="Desassociar" 
                        OnClick="btiDesassociar_Click"></asp:ImageButton><br />
                    <asp:ImageButton ID="btiDesTodos" runat="server" 
                        ImageUrl="~/Images/iconDesassociarTodos.png" ToolTip="Desassociar Todas" 
                        OnClick="btiDesTodos_Click"></asp:ImageButton>
                </td>
                <td>
                    <asp:ListBox ID="ltbAssociadas" runat="server" Width="300" Height="300" SelectionMode="Multiple"></asp:ListBox>
                </td>
            </tr>
        </table>
        <br />
        <asp:Button ID="btnSalvar" runat="server" Text="SALVAR" CssClass="button" 
            OnClick="btnSalvar_Click" />
        <asp:Button ID="btnLimpar" runat="server" Text="LIMPAR" CssClass="button" 
            OnClick="btnLimpar_Click" />
        <asp:Button ID="btnVoltar" runat="server" Text="VOLTAR" CssClass="button" PostBackUrl="~/Admin/Acesso/ListarGrupos.aspx" />
    </center>
</asp:Content>
